package myaop.dao;

import myaop.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface UserDao {
   public int save(User user);
   public int update(User user);
   public int saveById(int id ,String name);
   public List<String> findById(int id);
   public List<String> findByName(String name);





}
